home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Override Save A Copy?.3 < prev    next >
Encoding:
Internet Message Format  |  1996-07-08  |  1.2 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Override Save A Copy?
  2. Sent:        7/8/96 2:57 AM
  3. Received:    7/8/96 10:11 AM
  4. From:        Richard Rodseth, rodseth@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Mark Lanett:
  9.  
  10. >At 0:23 PM 7/3/96, Ken Boyer wrote:
  11. >>I have successfully overridden the Insert menu command so that I could
  12. >>display file types other then OpenDoc. I would also like to override the
  13. >>behavior of the Save A Copy command. I would like to add a popup menu that
  14. >>would allow the user to choose a file type to save the file as. Is there a
  15. >>way of doing this?
  16. >
  17. >*If* your part gets menu events then you can just handle
  18. >kODCommandSaveACopy (or something like that).
  19. >
  20. >Of course this will only happen if your part is active, or your part is
  21. >embedded in the Cyberdog navigator.
  22. >
  23.  
  24. Actually, menu events are sent to the part with the menu focus (active 
  25. part) and to the root part of the active window, if not handled by the 
  26. active part. This is because the root part must handle printing, for 
  27. example. 
  28.  
  29. Richard
  30.  
  31.  
  32.  
  33.         "It's no use prevaricating about the bush"
  34.                 - Wallace, in "The Wrong Trousers"
  35.  
  36.